package com.assistant.wechat.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "wx_user")
public class WxUser {
    @Id
    @KeySql(useGeneratedKeys = true)
    private String id;
    private String openid;
    private String create_time;
    private String tel;
    private Integer auth;  // 0不可接单 1不可接单
    private String avatar_url; //图片路径
    private String nick_name; //微信昵称
    private Integer gender; //性别
    private String city; //城市
}
